package com.fly.springbootTemplate.dao;

import com.fly.springbootTemplate.entity.StudentClass;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentClassDao {
    //增加班级
    boolean insertClass(StudentClass studentClass);
    //删除班级
    boolean deleteClass(String studentClassId);
    //更新班级
    boolean updateClass(StudentClass studentClass);
    //查询班级
    List<StudentClass> selectAllClass();
    //根据班级号查询班级
    StudentClass selectClassById(String studentClassId);
}
